﻿@model RonYee.Models.ChangePasswordModel

@{
    ViewBag.Title = "修改成功";
    Layout = "~/Views/Shared/_LayoutOfSecondPage.cshtml";
}


<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>

@using (Html.BeginForm()) {
    @Html.ValidationSummary(true, "密码修改失败. 请确认错误信息再重试一次哦.")

    <div class="box_padding">
        <h3><i class="ui-icons"></i>修改密码</h3>
        <div class="box_top ui-icons"></div>
        <div class="box_bg">
          <div class="box_padding">
           <div class="border_line">

                <table width="100%" border="0" cellpadding="0" cellspacing="0">
                <tbody>
                    <tr>
                        <td class="tdData" colspan=4>
                           提示：密码字符长度必须 @Membership.MinRequiredPasswordLength 字节.
                        </td>
                    </tr>
                    <tr>
                        <td class="tdName">旧密码</td><td class="tdData">
                           @Html.PasswordFor(m => m.OldPassword)
                           @Html.ValidationMessageFor(m => m.OldPassword)
                        </td>
                        <td class="tdName">新密码</td><td class="tdData">
                           @Html.PasswordFor(m => m.NewPassword)
                           @Html.ValidationMessageFor(m => m.NewPassword)
                        </td>
                    </tr>
                    <tr>
                        <td class="tdName">确认密码</td><td class="tdData">
                           @Html.PasswordFor(m => m.ConfirmPassword)
                           @Html.ValidationMessageFor(m => m.ConfirmPassword)
                        </td>
                        <td class="tdName"></td><td class="tdData">
                        </td>
                    </tr>


                </tbody>
            </table>
           </div>
          </div>
        </div>
        <div class="box_down ui-icons"></div>
    </div>
                
    <div class="line_top">
        <input class="Button1 ui-icons" id="Button1" title="Change Password" value="保存修改" type="submit" />
    </div>
}
